import unittest
from DAY7.test_cases import test_demo1, test_demo2

# loader 模块名参数
loader1 = unittest.defaultTestLoader.loadTestsFromModule(test_demo1)
loader2 = unittest.defaultTestLoader.loadTestsFromModule(test_demo2)

# suite 套件组装
suite = unittest.TestSuite()
suite.addTests([loader1, loader2])

# runner 执行方法
runner = unittest.TextTestRunner()
runner.run(suite)